package com.itcast.pojo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Table;
import java.util.Date;

/**
 * @PackageName: com.itcast.pojo
 * @ClassName: User
 * @Author: Renyz
 * @Date: 2020/2/3 16:38
 * @Description: //TODO
 */

@Table(name = "date")
@Data
public class User {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;

    private String username;
    private String password;
    private String telephone;

    private String birthday;
    private Integer gender;

}
